Hi I started writing a split view app for iPad using the split-view template. In the root view controller (the table view on the left) I am trying to set the detail text label of the cells like this:
cell.detailTextLabel.text = [NSString stringWithFormat:@"%d",
indexPath.row];
However when I run the app only the main text label (the label on the left of the cell). There is nothing that shows up in the detail label.
What am I doing wrong?
Can you answer this question?
Answer
0 Answers